package com.suzj.extraenchantments.potion;


import net.minecraft.world.effect.MobEffectCategory;


public class MagicChargeEffect extends BaseEffect {
    public MagicChargeEffect(MobEffectCategory type, int color, boolean isInstant) {
        super(type, color, isInstant);
    }

    @Override
    protected boolean canApplyEffect(int remainingTicks, int level) {
        return remainingTicks % 7 == 0;
    }

    public boolean isBeneficial() {
        return false;
    }
}